import styled from 'styled-components';

export const HeaderWrapper = styled.div`
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #fff;
  line-height: 1.5;
  font-size: 14px;
  font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Noto Sans CJK SC,WenQuanYi Micro Hei,Arial,sans-serif;
  padding: 0 50px;
  color: #151515;
  box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
  overflow: hidden;
`;

export const HeaderBox = styled.div`
  display: flex;
  min-width: 868px;
  max-width: 1440px;
  overflow: hidden;
`;

export const HeaderCenter = styled.div`
  // position: absolute;
  // left: 0;
  // right: 0;
  // width: 100%;
  flex: 1;
  height: 60px;
  text-align: center;
  background-color: #fff;
`;

export const HeaderLeft = styled.div`
  position: relative;
  z-index: 1;
  height: 60px;
  &.fl {
    float: left;
  }
`;

export const HeaderRight = styled.div`
  position: relative;
  z-index: 1;
  height: 60px;
  &.fr {
    float: right;
  }
`;

export const HeaderLogo = styled.span`
  display: block;
  height: 100%;
  color: #151515;
  .imgLogo {
    height: 50px;
    margin-top: 5px;
    vertical-align: top;
  }
`;

export const HeaderUl = styled.ul`
  display: inline-block;
`;
export const HeaderLi = styled.li`
  padding: 0 12px;
  height: 100%;
  line-height: 60px;
  &.fl {
    float: left;
  }
  &.navLi {
    font-size: 16px;
  }
`;

export const HeaderItem = styled.span`
  height: 60px;
  line-height: 60px;
  color: #151515;
  &.btn {
    display: inline-block;
    height: 28px;
    line-height: 28px;
    padding: 0 10px;
    background-color: #82b64a;
    color: #fff;
    border-radius: 4px;
  }
`;

export const HeaderNav = styled.div`
  display: inline-block;
`;